package com.ruoyi.uni.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 餐品管理对象 dc_goods
 * 
 * @author hx
 * @date 2024-04-17
 */
public class DcGoods extends BaseEntity
{
    private  int num=0;
    private static final long serialVersionUID = 1L;

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    /** 序号 */
    private String id;

    /** 餐品名 */
    @Excel(name = "餐品名")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String desc;

    /** 图片 */
    @Excel(name = "图片")
    private String imagine;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 库存 */
    @Excel(name = "库存")
    private Long count;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 定位 */
    private Long location;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDesc(String desc) 
    {
        this.desc = desc;
    }

    public String getDesc() 
    {
        return desc;
    }
    public void setImagine(String imagine) 
    {
        this.imagine = imagine;
    }

    public String getImagine() 
    {
        return imagine;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setLocation(Long location) 
    {
        this.location = location;
    }

    public Long getLocation() 
    {
        return location;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("desc", getDesc())
            .append("imagine", getImagine())
            .append("price", getPrice())
            .append("count", getCount())
            .append("status", getStatus())
            .append("type", getType())
            .append("location", getLocation())
                .append("num",getNum())
            .toString();
    }
}
